package com.agy.filemanager.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import javax.persistence.Id;

/**
 * 人员文档权限关系表
 */
@Data
@TableName("DC_DOC_USER_FILE")
public class DcDocUserFile {

    @Id
    @TableId("ID")
    private String id;

    //文档ID
    @TableField("DOCID")
    private String docid;

    //文档名称
    @TableField("DOCNAME")
    private String docname;

    //申请人ID
    @TableField("APPLYID")
    private String applyid;

    //申请人名称
    @TableField("APPLYNAME")
    private String applyname;

    //申请人所属部门id
    @TableField("APPLYDEPT")
    private String applydept;

    //申请人所属部门名称
    @TableField("APPLYDEPTNAME")
    private String applydeptname;

    //备注
    @TableField("REMARK")
    private String remark;

    //以获权限
    @TableField("AUTHORITY")
    private Byte authority;

    //审批状态
    @TableField("STATUS")
    private Byte status;

    //申请人ID
    @TableField("APPROVER")
    private String approver;

    //审批人名称
    @TableField("APPROVER_NAME")
    private String approverName;

    //修改时间
    @TableField("TIME")
    private String time;

    //提交时间
    @TableField("SUBMITTIME")
    private String submittime;
}
